<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="/usercenter/include/base_usercenter_pre_part.jsp"></jsp:include>
<div class="box_blue">
	<div class="box_title">
		订阅设置
	</div>
	<form action="<%=request.getContextPath()%>/subsc/saveSubsc.do" method="post">
		<table width="100%">
			<s:textfield name="email" label="%{getText('email')}" />

			<s:select label="%{getText('category')}" list="topCategories" name="category" listKey="id" listValue="chainName"></s:select>
			<tr>
				<td class="tdLabel">
					<s:text name="subscription.interval" />
				</td>
				<td>
					<ul>
						<li>
							<input type="radio" name="interval" value="1" />
							每天
						</li>
						<li>
							<input type="radio" name="interval" value="1/7" />
							星期一
							<input type="radio" name="interval" value="2/7" />
							星期二
							<input type="radio" name="interval" value="3/7" />
							星期三
							<input type="radio" name="interval" value="4/7" />
							星期四
							<input type="radio" name="interval" value="5/7" />
							星期五
							<input type="radio" name="interval" value="6/7" />
							星期六
							<input type="radio" name="interval" value="7/7" />
							星期日
						</li>

						<li>
							<input type="radio" id="interval_month" name="interval" value="1/31" />
							每月
							<select onchange="javascript:$('#interval_month').attr('checked',true).val(this.value+'/31');">
								<s:iterator begin="1" end="31">
									<option value="<s:property value="top"/>">
										<s:property value="top" />
									</option>
								</s:iterator>
							</select>
						</li>
					</ul>
				</td>
			</tr>

			<tr>
				<td></td>
				<td>
					<input type="submit" value="提交" />
				</td>
			</tr>
		</table>
	</form>
</div>
<jsp:include page="/usercenter/include/base_usercenter_last_part.jsp"></jsp:include>